﻿#ifndef CMDSUBMITEVALUATION_H
#define CMDSUBMITEVALUATION_H
#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    class CmdSubmitEvaluation : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSubmitEvaluation();
        ~CmdSubmitEvaluation();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setWindowId(int windowId) { m_windowId = windowId; }
        void setParms(QString parms) { m_parms = parms; }
        void setEvaluationType(int evaluationType) { m_evaluationType = evaluationType; }

    private:
        int m_windowId;
        QString m_parms;
        int m_evaluationType;
    };
} // namespace PostCommand

#endif // !CMDSUBMITEVALUATION_H
